Printing With QuickDraw GX
To support printing from the Finder, your application needs to call theGXSelectJobOutputPrinter
function to specify an output printer.When the user requests printing, you should call the
GXGetJobPageRange
function to obtain the user-specified page range.You call the
GXStartJob
function to begin printing a document. If your application stores each page as a single picture shape, you should use theGXPrintPage
function to print each page in a document.You may also choose to use the
GXStartPage
,GXDrawShape
, andGXFinishPage
functions to draw and print data. You should use these functions if your application does not store each page as a single picture shape.After you have finished calling the
GXPrintPage
or theGXFinishPage
function (depending on the approach you choose), you call theGXFinishJob
function to tell QuickDraw GX that the document is ready to be spooled for printing in the background.The
GXDrawShape
function is described in the shape objects chapter of Inside Macintosh: GX Objects.
Subtopics
- GXSelectJobOutputPrinter
- GXGetJobPageRange
- GXStartJob
- GXPrintPage
- GXFinishJob
- GXStartPage
- GXFinishPage
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help